package com.yanmaohu.yulia.bean;

/**
 * @author Bright Lee
 */
public final class ReferencedTableAndColumns {

    private int beginIndex;
    private int endIndex;
    private LocalOrSchemaQualifiedName tableName;
    private IdentifierList referenceColumnList;

    public ReferencedTableAndColumns(int beginIndex,
                                     int endIndex,
                                     LocalOrSchemaQualifiedName tableName,
                                     IdentifierList referenceColumnList) {
        this.beginIndex = beginIndex;
        this.endIndex = endIndex;
        this.tableName = tableName;
        this.referenceColumnList = referenceColumnList;
    }

    public int getBeginIndex() {
        return beginIndex;
    }

    public int getEndIndex() {
        return endIndex;
    }

    public LocalOrSchemaQualifiedName getTableName() {
        return tableName;
    }

    public IdentifierList getReferenceColumnList() {
        return referenceColumnList;
    }

}
